import React from 'react';
import { 
  FileTextOutlined, 
  FileImageOutlined, 
  FileOutlined 
} from '@ant-design/icons';

interface FileIconProps {
  type: string;
}

export const FileIcon: React.FC<FileIconProps> = ({ type }) => {
  switch (type) {
    case 'text':
      return <FileTextOutlined />;
    case 'image':
      return <FileImageOutlined />;
    default:
      return <FileOutlined />;
  }
}; 